@forelse($data as $key=>$value)
<div class="credits_list">
    <div class="credits_time date_{{$key}}">{{ $key }}</div>
    @foreach($value as $record)
        <div class="list_body">
            <div class="credits_item">
                <div class="credits_des">
                    <p>{{ $record->title }}</p>
                    <p>  {{ $record->created_at }}</p>
                </div>
                <div class="credits_num">{{ $record->value>0?'+':'' }}{{ $record->value }}</div>
            </div>
        </div>
    @endforeach
</div>
@empty
    <div class="weui-loadmore weui-loadmore_line empty" >
        <span class="weui-loadmore__tips">到底了:(</span>
    </div>
@endforelse
